package org.xp.judgeplatform.pojo.dto.ProblemSetDTO;

import jakarta.validation.constraints.Size;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "题目集更新请求")
public class ProblemSetUpdateDTO {
    
    @Size(max = 200, message = "题目集名称长度不能超过200个字符")
    @Schema(description = "题目集名称", example = "算法基础练习")
    private String name;

    @Size(max = 1000, message = "描述长度不能超过1000个字符")
    @Schema(description = "题目集描述", example = "这是一个适合初学者的算法题目集合")
    private String description;

    @Schema(description = "是否公开", example = "true")
    private Boolean isPublic;

    @Schema(description = "状态", example = "ACTIVE", allowableValues = {"ACTIVE", "ARCHIVED"})
    private String status;
}
